
from pydantic import BaseModel

class Settings(BaseModel):
    # PostgreSQL 数据库连接URL
    # 格式: postgresql+asyncpg://user:password@host:port/database
    DATABASE_URL: str = "postgresql+asyncpg://postgres:123456@localhost:5432/face_db"

    # Milvus 连接信息 (将在第二阶段使用)
    MILVUS_HOST: str = "localhost"
    MILVUS_PORT: int = 19530

# 创建一个全局配置实例
settings = Settings()
